<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:p="http://primefaces.prime.com.tr/ui"
      xmlns:f="http://java.sun.com/jsf/core">
    <h:head>
        <title>Facelet Title</title>
    </h:head>

    <h:body>
        <ui:composition>

            <p:panel>
                <h:form>
                    <table>
                        <tr>
                            <td><h:outputText value="Choose a City"/></td>
                            <td>

                                <h:selectOneMenu value="#{preCompany.citySearch}">
                                    <f:selectItems value="#{comboBox.items}"/>                  
                                </h:selectOneMenu>
                                

                            </td>
                        </tr>
                        <tr>
                            <td>
                                
                            </td>
                            <td>
                                <p:commandButton action="#{preCompany.searchdriver}" value="View" oncomplete="dri.hide()" update="cen"/>
                            </td>
                        </tr>
                    </table>  
                </h:form>



            </p:panel>

        </ui:composition>

    </h:body>
</html>


